/*
 * GWTService.java
 *
 * Created on 1 de noviembre de 2009, 07:10 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package py.fpuna.ii.electiva2.client;
import py.fpuna.ii.electiva2.client.model.ClienteModel;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import java.util.List;

/**
 *
 * @author Lauri
 */
@RemoteServiceRelativePath("gwtservice")
public interface GWTService extends RemoteService{

    public String guardarCliente(ClienteModel client);

    public List<ClienteModel> listarClientes();

    public List<ClienteModel> listarClientesEncontrados(String condicion);

    public String eliminarCliente(Integer idClient);

    public String modificarCliente(Integer idClient, ClienteModel client);
}
